package org.springblade.modules.repair.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * blade_maintain_by_score_question_appeal
 * @author
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "blade_maintain_by_score_question_appeal")
@Data
public class MaintainByScoreQuestionAppeal extends TenantEntity {

    /**
     * 计划任务id
     */
    private Long planId;

    /**
     * 项目id
     */
    private Long buildingId;

    /**
     * 电梯id
     */
    private Long elevatorId;

    /**
     * 问题数量
     */
    private Integer questionCount;

    /**
     * 1-可申诉 2-不可申诉
     */
    private Integer appealType;

    /**
     * 1-待申诉 2-已申诉
     */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer appealStatus;

    /**
     * 1-待审核 2-审核通过 3-审核不通过
     */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer appealResult;

    /**
     * 申诉人id
     */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long appealUserId;

    /**
     * 申诉人名称
     */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
    private String appealUserName;

    /**
     * 申诉时间
     */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date appealTime;

    /**
     * 工单人员id集合
     */
    private String planUserIds;

    /**
     * 工单人员名称集合
     */
    private String planUserNames;

    /**
     * 审批人id
     */
    private Long approverUserId;

    /**
     * 审批人名称
     */
    private String approverUserName;

    /**
     * 审批时间
     */
    private Date approverTime;

	/**
	 * 审批描述
	 */
	private String approverDesc;

}
